package net.yla.smartbus.module.ba.group.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: Yee
 * @date: 2021/6/18 16:55
 */
@Data
@NoArgsConstructor
public class GroupTree implements Serializable {

    private Integer id;

    private Integer parent;

    private String name;

    private List<GroupTree> children;

    public GroupTree(List<GroupTree> children) {
        this.children = children;
    }
}

